#ifndef __GLOBAL_H__
#define __GLOBAL_H__

typedef unsigned long INDEX;

struct PtPair {
  void* This;
  void* threadid;
};
//static int P=8;
//INDEX INPUT_SIZE=0;
#define P 8 //thread count
//#define P np;
#define INPUT_SIZE   100000
#define INPUT_RANGE  4000000
//#define P 1 //thread count
//#define INPUT_SIZE   4
//#define INPUT_RANGE  4
extern pthread_mutex_t lock;
extern pthread_barrier_t barrier;


#endif
